export default {
  namespaced: true,
  state: {
    b: 20
  },
  getters: {
    newData (state) {
      return state.b + 50
    }
  },
  mutations: {
    updata (state) {
      state.b = 80
    }
  },
  actions: {
    update (ctx) {
      ctx.commit('updata')
    }
  }
}
